//<?js
return "\n" + __SUPER ?> ;
(function() {
	App.set("$Event.goods_list.show_tags", function() {
		App.model.toggle("$Cache.goods_list.show_tags");
		return false
	});
	// 加载标签列表
	coAjax.get(appConfig.bus.tags, {
		bus_id: busInfo._id
	}, function(result) {
		App.set("$Cache.goods_list.tags_detail", result.result);
	});
	Path.on("/__basename__.html", function() {
		App.set("$Cache.goods_list.show_tags", false);
		var _tag_id = Path.getQuery("tag");
		if (_tag_id) {
			coAjax.get(appConfig.bus.tags_detail_by_id, {
				tag_id: _tag_id,
				bus_id: busInfo._id
			}, function(result) {
				var tag_detail = result.result;
				App.set("$Cache.goods_list.goods_list", tag_detail.detail_content);
				App.set("$Cache.goods_list.list_title", tag_detail.tag_name);
				App.set("$Cache.goods_list.show_tags", false);
				App.set("$State.goods_list.has_more", false);
			});
		}
	});
}());